﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Text;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;

public partial class insurance_orderform : System.Web.UI.Page
{
    public string EnumXML = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Expires = -1; 

        if (!IsPostBack)
        {
            txtPolicyType.Value = RequestBase.GetFormString("ddPolicyType");
            txtDestination.Value = RequestBase.GetFormString("selDestinationList");
            if (Utils.IsDateString(RequestBase.GetFormString("txtCoverStartDate")))
                txtCoverStartDate.Value = DateTime.Parse(RequestBase.GetFormString("txtCoverStartDate")).ToString("yyyy-MM-dd");
            txtProductId_pams.Value = RequestBase.GetFormString("selProductList");
            txtNoOfTravellers_pams.Value = RequestBase.GetFormString("ddlNoOfTravellers");
            txtTravellerAge.Value = RequestBase.GetFormString("tb_travellerAge");
            txtAreaCode.Value = RequestBase.GetFormString("txtAreaCode");
        }
    } 
}